package com.example.bookmanage.enums;

import lombok.Getter;

@Getter
public enum UserEntity {

    ORDINARY(1, "普通用户"),
    ADMIN(2, "管理员");

    private final Integer value;

    private final String desc;

    UserEntity(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

}
